<?php
    class User 
    {
        private $_protocol;
        private $_username;
        private $_password;
        
        private $_socket;
        
        public function __construct($user, $pass, $proto) {
            $this->_protocol = $proto;
            $this->_username = $user;
            $this->_password = $pass;
        }
        
        public function __destruct() {
            
        }
        
        ///login to the appropriate system
        public function login() {
            return true;
        }
        
        ///logout of the appropriate system
        public function logout() {
        
        }
        
        ///Returns all of the friends associated with the username for the protocol.
        public function friends_list() {
            return array("Harry", "Sally", "Bob", "Tommy");
        }
    }
?>